HydraBooking\Admin\Controller\SettingsController B

Total Complexity 96
Dependencies 10
Dependents 1
Total lines 978
Lines of code 731
Logical lines of code 350
Comment lines 98
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
UpdateIntegrationSettings()
D
27
30 159
UpdateAvailabilitySettings()
A
38 14 75
create_endpoint()
A
34 1 155
UpdateGetHostsSettings()
A
44 8 42
GetIntegrationSettings()
A
48 7 32
UpdateNotificationSettings()
S
50 5 28
MarkAsDefault()
S
49 4 34
getShortcodeSettings()
S
49 4 33
GetNotificationSettings()
S
61 4 12
installActivePlugins()
S
53 3 23
UpdateGeneralSettings()
S
53 3 22
generateShortPreview()
S
55 3 20
DeleteAvailabilitySettings()
S
55 2 19
GetSingleAvailabilitySettings()
S
58 1 16
GetGeneralSettings()
S
58 1 16
GetAvailabilitySettings()
S
61 1 13
init()
S
91 1 2
GetHostsSettings()
S
65 1 9
GetAppearanceSettings()
S
65 1 9
UpdateAppearanceSettings()
S
63 1 10
__construct()
S
91 1 2